﻿@model Bowerbird.Website.Models.Home.IndexModel
@{
    ViewBag.Title = "Index";
}
@if (Request.IsAuthenticated)
{
    <div id="leftColumn">
    <!--<div id="contactDataContainer">
        <p>
            <b>Your Contact Data</b> | @Html.ActionLink("Add New", "addNew", "contactData")
        </p>
        <ul>
            @foreach (var cd in Model.ContactData)
            {
                <li>@Html.UserContactData(cd)</li>
            }
            <li>
                <img src="@VirtualPathUtility.ToAbsolute("~/Content/mail_bn_32.png")" class="contactDataIcon"
                    height="32" width="32" alt="email" />
                Personal Email: <a href="mailto:javier.feldman@gmail.com">javier.feldman@gmail.com</a>
                | <a href="http://localhost/bowerbird/contactData/1234/edit">Everyone</a> <a href="http://localhost/bowerbird/contactData/1234/edit">
                    <img src="@VirtualPathUtility.ToAbsolute("~/Content/edit_bn_32.png")" class="contactDataIcon"
                    height="20" width="20" alt="edit" /></a></li>
            <li>
                <img src="@VirtualPathUtility.ToAbsolute("~/Content/mail_bn_32.png")" class="contactDataIcon"
                    height="32" width="32" alt="email" />
                Huddle's Email: <a href="mailto:javier.feldman@huddle.com.ar">javier.feldman@huddle.com.ar</a>
                | <a href="http://localhost/bowerbird/contactData/1234/edit">Everyone</a> <a href="http://localhost/bowerbird/contactData/1234/edit">
                    <img src="@VirtualPathUtility.ToAbsolute("~/Content/edit_bn_32.png")" class="contactDataIcon"
                    height="20" width="20" alt="edit" /></a></li>
            <li>
                <img src="@VirtualPathUtility.ToAbsolute("~/Content/phone_bn_32.png")" class="contactDataIcon"
                    height="32" width="32" alt="phone" />
                Home Phone: <a href="callto:541142240929">(54) 11-4224-0929</a> | <a href="http://localhost/bowerbird/contactData/1234/edit">
                    Friends, Family</a> <a href="http://localhost/bowerbird/contactData/1234/edit">
                        <img src="@VirtualPathUtility.ToAbsolute("~/Content/edit_bn_32.png")" class="contactDataIcon"
                    height="20" width="20" alt="edit" /></a> </li>
            <li>
                <img src="@VirtualPathUtility.ToAbsolute("~/Content/phone_bn_32.png")" class="contactDataIcon"
                    height="32" width="32" alt="phone" />
                Huddle's Phone: <a href="callto:541199999999">(54) 11-9999-9999</a> | <a href="http://localhost/bowerbird/contactData/1234/edit">
                    Friends, Family, Colleagues</a> <a href="http://localhost/bowerbird/contactData/1234/edit">
                        <img src="@VirtualPathUtility.ToAbsolute("~/Content/edit_bn_32.png")" class="contactDataIcon"
                    height="20" width="20" alt="edit" /></a></li>
            <li>
                <img src="@VirtualPathUtility.ToAbsolute("~/Content/phone_bn_32.png")" class="contactDataIcon"
                    height="32" width="32" alt="phone" />
                Mobile Phone: <a href="callto:541199999999">(54) 11-9999-9999</a> | <a href="http://localhost/bowerbird/contactData/1234/edit">
                    Friends, Family, Colleagues</a><a href="http://localhost/bowerbird/contactData/1234/edit">
                        <img src="@VirtualPathUtility.ToAbsolute("~/Content/edit_bn_32.png")" class="contactDataIcon"
                    height="20" width="20" alt="edit" /></a> </li>
            <li>
                <img src="@VirtualPathUtility.ToAbsolute("~/Content/map_bn_32.png")" class="contactDataIcon"
                    height="32" width="32" alt="address" />
                Home Address: <a href="http://maps.google.com.ar/?q=Pte. Perón 1140, 3D, Quilmes Oeste, Buenos Aires, Argentina"
                    target="_blank">Pte. Perón 1140, 3D, Quilmes, Buenos Aires, Argentina</a> |
                <a href="http://localhost/bowerbird/contactData/1234/edit">Friends, Family, Colleagues</a>
                <a href="http://localhost/bowerbird/contactData/1234/edit">
                    <img src="@VirtualPathUtility.ToAbsolute("~/Content/edit_bn_32.png")" class="contactDataIcon"
                    height="20" width="20" alt="edit" /></a> </li>
        </ul>
    </div>-->
    <div id="contactsUpdatesContainer">
        <p>
            <b>Latest Updates</b>
        </p>
        <ul>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/41782_47154005587_1182_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Alvarez, Romina</a> added a
                new Phone Number called <a href="http://localhost/bowerbird/user/1005543204/data/2345324">
                    Depto.</a> <span class="red">New!</span> <span class="timestamp">2 hours ago</span>
            </li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/276834_170228609703898_846125_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Aguero, Sergio</a> got connected
                with <a href="http://localhost/bowerbird/user/1005543204">Mike Schirer</a> <span
                    class="timestamp">12 hours ago</span></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/50516_43761486162_598153_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Robert, De Niro</a> added you
                as a <a href="http://localhost/bowerbird/user/1005543204">Commercial</a> contact.
                <span class="timestamp">Yesterday</span></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/71057_119542617343_1047659_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">John, Raynolds</a> installed
                <a href="http://localhost/bowerbird/gomobile/iphone">CallMe for iPhone</a> <span
                    class="timestamp">2 days ago</span></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/275514_1032389404_6674461_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Gonzalez, Verito</a> got connected
                with <a href="http://localhost/bowerbird/user/1005543204/data/2345324">Frank, Miller</a>,
                <a href="http://localhost/bowerbird/user/1005543204">Sarah, Dominic</a> and <a href="http://localhost/bowerbird/user/#">
                    3 more...</a> <span class="timestamp">2 days ago</span></li>
            <li><a href="http://localhost/bowerbird/contacts/page/2">See next 10...</a></li>
        </ul>
    </div>
    </div>
    <div id="rightColumn">
    <div id="suggestedContactsContainer">
        <p>
            <b>People you could need to Contact</b>
        </p>
        <ul>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/273503_1452891133_4952742_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Schirer, Mike</a> <span class="timestamp">
                    3 contacts in common</span></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/275469_1247704070_3442584_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Gui, Laura</a> <span class="timestamp">
                    2 contacts in common</span></li>
        </ul>
    </div>
    <div id="recentlyViewedContactsContainer">
        <p>
            <b>Recently Viewed Contacts</b> | <a href="http://localhost/bowerbird/contacts">View
                All Contacts</a>
        </p>
        <ul>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/41411_1015230233_6738_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Rugilo, Guille</a></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/157897_49863732035_5280930_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Austin, Kate</a></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/41618_634427222_9513_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Rivollier, Federico</a></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-ash2/261068_1439752318_1304646_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Feldman, Jorge</a></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/41782_47154005587_1182_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Alvarez, Romina</a></li>
            <li>
                <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/276834_170228609703898_846125_q.jpg"
                    height="30" width="30" />
                <a href="http://localhost/bowerbird/user/1005543204">Aguero, Sergio</a></li>
        </ul>
    </div>
    </div>
}
else
{
    @:Not Authenticated Login page!
}